package com.xinyan.plc;

import com.github.xingshuangs.iot.common.enums.EDataType;
import com.github.xingshuangs.iot.protocol.s7.serializer.S7Variable;
import lombok.Data;

import java.io.Serializable;

/**
 * 手动模式下启停
 */
@Data
public class HandModeStartAndStop implements Serializable {

    /**
     * 手动模式下启动标记
     */
    @S7Variable(address = "m4.1", type = EDataType.BOOL)
    private boolean m41;

    /**
     * 手动模式下停止标记
     */
    @S7Variable(address = "m4.2", type = EDataType.BOOL)
    private boolean m42;
}
